package net.wangds.web.annotations;


import java.lang.annotation.*;

@Documented
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Auth {
    AuthType type() default AuthType.NO;
    String[] requireRoles() default {};
    String[] requireAnyRoles() default {};
    String[] requirePrivileges() default {};
    String[] requireAnyPrivileges() default {};
    String[] requirePositions() default {};
    String[] requireAnyPositions() default {};
    String[] requireUsers() default {};
    String[] requireAnyUsers() default {};
}
